package com.aistar.service;

import com.aistar.pojo.Customer;
import com.aistar.util.ServerResponse;
import org.springframework.stereotype.Service;


public interface CustomerService extends BaseService<Customer> {

    public ServerResponse getByTel(String telno);

    public ServerResponse getByTelAndPw(String telno, String passWord) throws Exception;

/*    public ServerResponse getByEmaAndPw(String email, String passWord);*/

    public ServerResponse getByNameAndPw(String name, String passWord) throws Exception;

    public ServerResponse getByAccountAndPw(String type, String account, String passWord) throws Exception;

    public Customer getByCookie(String account, String passWord) throws Exception;

}
